<?php echo $this->fetch('header.html'); ?>
<style>
    .page_job{position: relative;padding:10px;}
    .page_job .jobview{background:#fff;}
    .page_job .jobview h1.title{margin: 0px 10px;margin-bottom: 30px;padding: 15px 5px;border-bottom: 1px solid #ddd;font-size: 24px;}
    .page_job .jobview .paralist{margin: 0px 10px;margin-top: 30px;padding: 5px 10px;background: #8c989f;color: #fff;}
    .page_job .jobview .paralist li{position: relative;padding: 8px 5px 8px 90px;min-height: 20px;border-bottom: 1px solid #ddd;}
    .page_job .jobview .paralist li span{position: absolute;top: 0;left: 0;overflow: hidden;padding: 8px 5px;width: 80px;word-wrap: break-word;}
    .page_job .jobview .ctitle{margin: 30px 10px 10px;padding: 0 10px;height: 40px;border-bottom: 1px solid #ddd;font-weight: normal;font-size: 16px;line-height: 40px;}
    .page_job .jobview .job_editor{padding: 0 10px;}
    .page_job .jobview .info_cv{margin-top: 30px;margin-left: 10px;}
    .page_job .jobview .info_cv a{display: inline-block;padding: 0 35px;height: 35px;border-radius: 2px;background: #23b7e5;color: #fff;line-height: 35px;}
</style>
<section class="page_job">
    <div class="jobview">
        <h1 class="title"><?php echo htmlspecialchars($this->_var['job']['position']); ?></h1>
        <ul class="paralist">
            <li><span>招聘人数：</span><?php echo ($this->_var['job']['count'] == '') ? '不限' : $this->_var['job']['count']; ?></li>
            <li><span>工作地点：</span><?php echo ($this->_var['job']['place'] == '') ? '待定' : $this->_var['job']['place']; ?></li>
            <li><span>工资待遇</span><?php echo ($this->_var['job']['deal'] == '') ? '待定' : $this->_var['job']['deal']; ?></li>
            <li><span>发布日期：</span><?php echo local_date("Y-m-d",$this->_var['job']['update_time']); ?></li>
        </ul>
        <h3 class="ctitle"><span>职位描述</span></h3>
        <div class="job_editor">
            <?php echo html_filter($this->_var['job']['content']); ?>
        </div>
        <div class="info_cv"><a href="<?php echo url('app=job_apply&act=add&id=' . $this->_var['job']['job_id']. ''); ?>" target="_self" title="在线应聘" class="button orange">在线应聘</a></div>
    </div>
</section>
<?php echo $this->fetch('footer.html'); ?>